//
//  BseViewController.h
//  RPay
//
//  Created by hzy on 2017/10/30.
//  Copyright © 2017年 Charlie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MJExtension/MJExtension.h>
#import <MBProgressHUD/MBProgressHUD.h>
#import "ShareUser.h"
#define DEVICE_WITH ([UIScreen mainScreen].bounds.size.width)
#define DEVICE_HEIGHT ([UIScreen mainScreen].bounds.size.height)
typedef void(^AlertCancelBlock)();
typedef void(^AlertConfirmBlock)();
@interface BseViewController : UIViewController
-(void)addNavigationBarLeftButtonItem;
-(void)addNavigationBarRightButtonItemWithInfo:(NSString *)title target:(id)target action:(SEL)action;
- (void)alertWithTitle:(NSString *)title message:(NSString *)message handler:(void (^ __nullable)(UIAlertAction *action))handler;
-(BOOL)checkNetworkData:(id)data;
-(void)alertNetworkError;
@end
